<template>
  <div class="boss">
    <div class="box">
      <div class="text" v-for="(v,i) in data" :key="i">
        <img :src="v.img" alt="" />
        <p>{{v.text}}</p>
      </div>
    </div>
  </div>
</template>

<script>
import getlink from "@/api/getapi.js"
export default {
  data(){
    return{
      data:[]
    }
  },
  created(){
    getlink("/mock/data/setfind").then((ok)=>{
      console.log(ok.data)
      this.data=ok.data
    })
  }
};
</script>

<style scoped>
.boss {
  width: 3.432rem;
  padding: 0.12rem 0.16rem;
  /* background-color: pink; */
}
.box{
   display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.text {
  width: 1.681rem;
  height: 0.52rem;
  background-color: RGB(245, 247, 248);
  border-radius: 0.3rem;
  display: flex;
  margin-bottom: 0.1rem;

}
.text img {
  width: 0.28rem;
  height: 0.28rem;
  margin-left: 0.1rem;
  margin-top:0.12rem ;
}
.text p{
    font-size: 0.14rem;
    color: #333;
    width: 1.06rem;
    height: 0.216rem;
    margin-top: 0.15rem;
    margin-left: 0.1rem;
}
</style>